package cn.ctbu.xiaopeng.studentscoremanage.pojo.vo;

import lombok.Data;

/**
 * 成绩分页结果VO
 *
 * @author xiaopeng
 * @version 1.0
 */
@Data
public class ScorePageVO {
    private Integer id;  // 主键 ID

    private String sno; // 学生编号，关联学生表的 sno

    private String stuName;  // 学生姓名，关联学生表的 sno

    private String courseNo; // 课程编号，关联课程表的 course_no

    private Integer sex; // 学生性别

    private String cname;  // 课程名称，关联课程表的 course_no

    private String tno; // 教师编号，关联教师表的 tno

    private String tname; // 教师姓名，关联教师表的 tno

    private String assessMethod; // 考核方式

    private Double score;  // 课程成绩（可选）

    private Double gpa;  // 绩点（可选）

    private String className; // 班级名称

    private String semester; // 学期

    private String department; // 院系名称

    private Integer credits;  // 课程学分

    private Integer hours;  // 课程学时


    public ScorePageVO(Integer id, String sno, String stuName, String courseNo,Integer sex,
                       String cname, String tno, String tname, String assessMethod,
                       Double score, Double gpa, String className, String semester,
                       String department, Integer credits, Integer hours) {
        this.id = id;
        this.sno = sno;
        this.stuName = stuName;
        this.courseNo = courseNo;
        this.sex = sex;
        this.cname = cname;
        this.tno = tno;
        this.tname = tname;
        this.assessMethod = assessMethod;
        this.score = score;
        this.gpa = gpa;
        this.className = className;
        this.semester = semester;
        this.department = department;
        this.credits = credits;
        this.hours = hours;
    }
}
